<div id="pagename">
    <h2 id="topic"><img src="/images/arrow_green.gif"/> Editar Agenda </h2>
</div>

<div id="courseItemGlobalNav">
    <img src="/images/table.gif"/> <%= link_to "Listar", :controller => "agendas" %>  
    
</div>

<div id="subtopic">
	
	
<% form_for(@agenda) do |f| %>
  <%= f.error_messages %>

  <table>
  <tr>
  <td><%= f.label :data_inicial %></td>
  <td><%= f.date_select :data_inicial %></td>
  </tr>
  <tr>
  <td><%= f.label :data_final %><br /></td>
  <td><%= f.date_select :data_final %></td>
  </tr>
  <tr>
  <td><%= f.label :descricao %><br /></td>
  <td><%= f.text_field :descricao %></td>
  </tr>
  <tr>
  	<td></td>
   <td> <%= f.submit "Confirmar" %></td>
   
  </tr>
</table>  
</div>  
<% end %>